<style>
	table tr td {
		text-align:center;
	}
</style>

<table class="table table-bordered">
	<tbody><tr style=""><td><span>姓名:</span></td><td><input type="text" name="black_name"/></td></tr>
		<tr><td>手机号:</td><td><input type="text" name="black_mobile"/></td></tr>
		</tbody>
</table>
<a class="btn btn-info" onclick="blacklistAddSubmit()" style="margin-left:85%" >提交</a>


<script>
	
	function blacklistAddSubmit(){
		var $name = $("input[name='black_name']").val();
		var $mobile = $("input[name='black_mobile']").val();
		
		$.getJSON("__APP__/Contacts/blacklistAdd",{name:$name,mobile:$mobile,submit:1},function(json){
			
			$.remind("系统提示",json.info);
			
		});
	}
	
</script>